
<template>
  <div class="mine">
    <div class="p-w-sm">
      <div class="title">
          <h2>宜昌城市大脑电梯应急处置平台</h2>
      </div>
    </div>
    <div class="card">

      <el-card class="box-card">
        <div slot="header" class="clearfix">
          <i class="el-icon-s-home t-color" ></i><span>基本概况</span>
        </div>
        <el-row class="el-row--flex el-dialog--center">
        <el-col class="t1" :span="12">维保单位(家)<div class="number">{{ maintOrgNum }}</div></el-col>
        <el-col class="t1" :span="12">使用单位(家)<div class="number">{{ useOrgNum }}</div></el-col>
          </el-row>
        <el-row class="el-row--flex el-dialog--center">
        <el-col class="t1" :span="12">电梯总数(台)<div class="number">{{ eleNum }}</div></el-col>
        <el-col class="t1" :span="12">作业人员(人)<div class="number">{{ userNum }}</div></el-col>
        </el-row>
      </el-card>

      <el-card class="box-card">
        <div slot="header" class="clearfix">
          <i class="el-icon-tickets t-color"></i><span>工作概况</span>
        </div>
        <el-row class="el-row--flex el-dialog--center">
          <el-col class="t1" :span="12">维保工单(起) <div class="number">{{ taskNum }}</div></el-col>
        <el-col class="t1" :span="12">故障工单(起)<div class="number">{{ faultNum }}</div></el-col>
          </el-row>
        <el-row class="el-row--flex el-dialog--center">
          <el-col class="t1" :span="12">救援工单(起)<div class="number">{{ rescueNum }}</div></el-col>
          <el-col class="t1" :span="12">投诉工单(起)<div class="number">{{ recordNum }}</div></el-col>
        </el-row>
      </el-card>
      <el-card class="box-card">
        <div slot="header" class="clearfix">
          <i class="el-icon-warning t-color"></i> <span>预警概况</span>
        </div>
        <el-row class="el-row--flex el-dialog--center">
        <el-col class="t1"  :span="12">资质过期人员(人)<div class="number">{{ expireUserNum }}</div></el-col>
        <el-col class="t1" :span="12">脱保电梯(台)<div class="number">{{ outEleNum }}</div></el-col>
        </el-row>
          <el-row class="el-row--flex el-dialog--center">
            <el-col class="t1" :span="12">检验不合格电梯(台)<div class="number">{{unEleNum}}</div></el-col>
            <el-col class="t1" :span="12">检验超期电梯(台)<div class="number">{{expireEleNum}}</div></el-col>
        </el-row>
      </el-card>
      </div>
  </div>
</template>

<script>

export default {
  data() {
    return {
      maintOrgNum:20,
      useOrgNum:20,
      userNum:10,
      eleNum:1000,
      taskNum:200,
      faultNum:10,
      rescueNum:10,
      recordNum:10,
      expireUserNum:2,
      outEleNum:2,
      unEleNum:10,
      expireEleNum:20
    }
  },
  components: {
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
@import '@/styles/variables.scss';

.title{
  margin-top: 5px;
  font-size: 18px;
  color: #2db7f5;
  text-align: center;
  margin-bottom: 5px;
}

.t-color{
  color: #2db7f5;
}

.mine {
  width: 100%;
  height: calc(100% - 40px);
  overflow-y: auto;
  .banner {
    width: 100%;
    height: 130px;
    padding-top: 20px;
    img {
      width: 100%;
    }
  }
  .appInfoDiv {
    padding: 3px;
    padding-bottom: 10px;
    margin: 5px 0;
    .appInfo {
      //background: linear-gradient(
      //    to bottom,
      //    rgba($color: $lightGreen, $alpha: 0.8) 0%,
      //    rgba($color: $darkGreen, $alpha: 0.8) 100%
      //);
      background: #FFFFFF;
      color: #c3c3c3;
      border-radius: 10px;
      padding-bottom: 1px;
      //box-shadow: 0px 3px 3px rgba($color: $darkGreen, $alpha: 0.5),
      //0px -3px 3px rgba($color: $agriTheme, $alpha: 0.5),
      //3px 0px 3px rgba($color: $darkGreen, $alpha: 0.5), -3px 0px 3px $darkGreen;
      font-family: 'Times New Roman', Times, serif;
      margin-bottom: 10px;
    }
    h2 {
      font-weight: 500;
      margin-bottom: 20px;
      border-bottom: 1px solid #fff;
      line-height: 45px;
      text-indent: 20px;
    }
    p {
      text-indent: 40px;
      font-size: 16px;
      margin-bottom: 30px;
      i {
        margin-right: 10px;
      }
    }
  }
}
::v-deep {
  .van-button--info {
    background-color: #00b39b;
    border-color: #00b39b;
  }
}


.card {
  justify-content: space-between;
  .box-card {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    .clearfix {
      color: #333;
      font-weight: bold;
    }
    ::v-deep .el-card__body {
      padding: 10px 20px;
    }
    .t1 {
      color: #000;
      font-size: 18px;
      cursor: pointer;
      background: #f0f0f0;
      margin: 5px 5px 5px 5px;
      //display: flex;
      justify-content: space-between;
      line-height: 30px;
      // .mark{
      //   float: right;
      // }
      ::v-deep .el-badge__content {
        margin-bottom: 10px;
      }
      .number{
        font-weight: bold;
        color: #2db7f5;
      }
    }
  }
}
</style>
